package Multimedia;
import javax.swing.ImageIcon;
import javazoom.jlgui.basicplayer.BasicPlayerException;


public abstract class MultimediaHumano extends Multimedia{
	//ATRIBUTOS DE INSTANCIA
	protected ImageIcon imagen2; 
	protected ImageIcon imagen3;
	protected ImageIcon imagen4;
	protected ImageIcon imagen5;
	
	//CONSTRUCTOR
	public MultimediaHumano(){
	}
	
	
	//COMANDOS	
	public void setImagen(int i) {
		switch(i){
			case 1:{grafica.setIcon(imagen1);break;}
			case 2:{grafica.setIcon(imagen2);break;}
			case 3:{grafica.setIcon(imagen3);break;}
			case 4:{grafica.setIcon(imagen4);break;}
			case 5:{grafica.setIcon(imagen5);break;}}
	}
	public void reproducir(){
		try {
			sonido.play();
		} catch (BasicPlayerException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();}
	}
}
